package com.zhudi.controller;


import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;

@RestController
@RequestMapping("/test")
public class testController {

    @GetMapping("/getHello")
    public String helloZhudiByHello(String name){
        return "helloZhudiByHello "+name;
    }
    @PostMapping ("/postHello")
    public String helloZhudiByPost(String name){
        return "helloZhudiByPost "+name;
    }


}
